package com.example.gomoku;

import android.media.Image;

public class User {

    public String uid;//注册账号
    public String upwd;//注册密码
    public String uname;//注册昵称
    public byte[] uavatar;

    public User(String uid, String upwd, String uname, byte[] uavatar) {

        this.uid = uid;
        this.upwd = upwd;
        this.uname = uname;
        this.uavatar = uavatar;
    }

    public User(String uid, String upwd, byte[] uavatar) {
        this.uid = uid;
        this.upwd = upwd;
        this.uavatar = uavatar;
    }

    public byte[] getUavatar() {
        return uavatar;
    }

    public void setUavatar(byte[] uavatar) {
        this.uavatar = uavatar;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUpwd() {
        return upwd;
    }

    public void setUpwd(String upwd) {
        this.upwd = upwd;
    }

//    public Image uavatar;//头像

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public User() {
    }

    public User(String rid, String rpwd, String rname) {
        this.uid = rid;
        this.upwd = rpwd;
        this.uname = rname;
    }

}
